package com.itheima.service;

import com.itheima.domain.OrderSetting;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

@Transactional(readOnly = true)
public interface OrderSettingService {
    @Transactional(readOnly = false)
    public boolean add(List<OrderSetting> list);

    List<Map> getOrderSettingByMonth(String date);
    @Transactional(readOnly = false)
    boolean editNumberByDate(OrderSetting orderSetting) throws Exception;
}
